<?php if (!defined('THINK_PATH')) exit();?>
	<style>
		#metable{
			width:100%;
		}
		#metable th{
			text-align:center;
		}
		#metable td{
			text-align:center;
		}
	</style>
	<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
    <meta name="description" content="">
    <meta name="author" content="">
    <link rel="icon" href="../../favicon.ico">

    <title>企业网站</title>

    <!-- Bootstrap core CSS -->
    <link href="/company/Public/assets/css/bootstrap.min.css" rel="stylesheet">

    <!-- Custom styles for this template -->
    <link href="/company/Public/assets/css/dashboard.css" rel="stylesheet">

    <!-- Just for debugging purposes. Don't actually copy these 2 lines! -->
    <!--[if lt IE 9]><script src="/company/Public/assets/js/ie8-responsive-file-warning.js"></script><![endif]-->
    <script src="/company/Public/assets/js/ie-emulation-modes-warning.js"></script>

    <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
    <!--[if lt IE 9]>
      <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
      <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
    <![endif]-->
  </head>

  <body>

    <nav class="navbar navbar-inverse navbar-fixed-top">
      <div class="container-fluid">
        <div class="navbar-header">
          <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
            <span class="sr-only">Toggle navigation</span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
          </button>
          <a class="navbar-brand" href="/company/index.php/index/index">企业网站后台管理</a>
        </div>
        <div id="navbar" class="navbar-collapse collapse">
          <ul class="nav navbar-nav navbar-right">
            <li><a href="#">欢迎使用</a></li>
            <li><a href="#"><?php echo $_SESSION['admin']['yjl_adminname']; ?></a></li>
            <li><a href="<?php echo U('Login/logout');?>">注销</a></li>
            <li><a href="#">&nbsp</a></li>
          </ul>
        </div>
      </div>
    </nav>

    <div class="container-fluid">
      <div class="row">
        <div class="col-sm-3 col-md-2 sidebar">
          <ul class="nav nav-sidebar">		   
            <li><a href="<?php echo U('Introduction/index');?>">企业信息管理<span class="sr-only">(current)</span></a></li>
            <li><a href="<?php echo U('Users/index');?>">用户管理</a></li>
            <li><a href="<?php echo U('Classfies/index');?>">产品类别管理</a></li>
            <li><a href="<?php echo U('Goods/index');?>">产品管理</a></li>
			<li><a href="<?php echo U('Messages/index');?>">留言管理</a></li>
			<li><a href="<?php echo U('News/index');?>">新闻管理</a></li>
			<li><a href="<?php echo U('Forms/index');?>">企业报表管理</a></li>
			<li><a href="<?php echo U('Admins/mod');?>">密码修改<span class="sr-only">(current)</span></a></li>
          </ul>          
        </div>
        <div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main">
	<h1 class="page-header">企业信息维护</h1>
	<form method='POST' action='index'>
	
	
	<!-- 以下是显示内容logo 以及其他-->
	
	<table id="metable" class='table'>
		<?php if(is_array($list)): $i = 0; $__LIST__ = $list;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><a class="pull-right" href="<?php echo U('mod',array('id'=>$vo['yjl_id']));?>">修改信息</a>
		<tr>
		<th>商标</th><td><img src='/company/Public/photo/<?php echo ($vo["yjl_logo"]); ?>' width="100px" height="100px"></td>
		</tr>
		
			<tr>
				<th>企业名称</th><td><?php echo ($vo["yjl_companyname"]); ?></td>
			</tr>
			<tr>
				<th>所属行业</th><td><?php echo ($vo["yjl_industry"]); ?></td>
			</tr>
			<tr>
				<th>详细介绍</th><td><?php echo ($vo["yjl_intro"]); ?></td>
			</tr>
			<tr>
				<th>创建时间</th><td><?php echo ($vo["yjl_createdate"]); ?></td>
			</tr>
			<tr>
				<th>法人代表</th><td><?php echo ($vo["yjl_leader"]); ?></td>
			</tr><?php endforeach; endif; else: echo "" ;endif; ?>
</table>
</form>
</div>
      </div>
    </div>

    <!-- Bootstrap core JavaScript
    ================================================== -->
    <!-- Placed at the end of the document so the pages load faster -->
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
    <script src="assets/js/bootstrap.min.js"></script>
    <!-- Just to make our placeholder images work. Don't actually copy the next line! -->
    <script src="assets/js/vendor/holder.min.js"></script>
    <!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
    <script src="assets/js/ie10-viewport-bug-workaround.js"></script>
  </body>
</html>